<?php
class PostTable extends Table
{
    function  __construct($dataArray = NULL)
    {
        $fields = array(
            'id' => null, 'title' => null, 'summary' => null, 'detail' => null, 'avatar' => null, 'category_id' => null, 'p_date' => null, 'status' => null,'comment_enable' => NULL);
        $this->setField($fields);
        parent::__construct('post', $dataArray);
    }
}

?>
